//
//  JUFNComposeButton.swift
//  WiBoPM
//
//  Created by 陈俊峰 on 2017/1/13.
//  Copyright © 2017年 陈俊峰. All rights reserved.
//

import UIKit
let composeBtnW: CGFloat = 80
let composeBtnH: CGFloat = 110
class JUFNComposeButton: UIButton {

    //返回文字的frame
    override func titleRect(forContentRect contentRect: CGRect) -> CGRect {
        return CGRect(x: 0, y: composeBtnW, width: composeBtnW, height: composeBtnH - composeBtnW)
    }
    override func imageRect(forContentRect contentRect: CGRect) -> CGRect {
        return CGRect(x: 0, y: 0, width: composeBtnW, height: composeBtnW)
    }

}
